#include "command.h"
#include "key_process.h"

int _clear(char *argv[])
{
	/* check the number of cmd-line parameters is correct */
	int argc = 0;
	for (char **ptr = argv; *ptr != NULL; ptr++)
		argc++;
	if (argc != 1) {
		fprintf(stderr, "Usage: clear\n");
		return -1;
	}

	printf(CLS);

	return 0;
}
